/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ADP.violet.Client.Impl;
import za.ac.cput.ADP.violet.Mail.Mail;
import za.ac.cput.ADP.violet.Client.Client;

/**
 *
 * @author Oceanwave
 */
public class ClientImp implements Client
{
    String name, surname;
    int mailsCreated;

    public ClientImp(String name, String surname) 
    {
        this.name = name;
        this.surname = surname;
        mailsCreated = 0;
    }
    
    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getSurname() {
        return surname;
    }

    
    @Override
    public Mail createMail(Mail inputMail)
    {
        mailsCreated++;
        return inputMail;
    }

    @Override
    public void printReport()
    {
        System.out.println("Clients name is: " + name + "\n" + "Clients surname is: " + surname + "\n" + "Mails created: " + mailsCreated);
    }
}
